package com.boot;

//import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


// 不对@EnableApolloConfig填写任何参数，则Apollo默认加载namespace为application
// 的配置信息。如果你没有为application添加任何配置信息，但在代码中却错误的使用了
// @EnableApolloConfig，那么在项目启动时，apollo会不断的加载application，报错并抛出警告
//@EnableApolloConfig({"application", "spring-datasource", "spring-kafka"})
@SpringBootApplication()
public class SpringKafkaStreamsApplication {

    public static void main(String[] args) {
        System.setProperty("env", "DEV");
        SpringApplication.run(SpringKafkaStreamsApplication.class, args);
    }

}
